import {setFrontPageName} from "@/store/system";
import {useEffect} from "react";
import {useTranslation} from "react-i18next";
import {useDispatch} from "react-redux";
import styles from "./index.module.less"


const Home = () => {
    const dispatch = useDispatch();
    const [t,] = useTranslation()

    useEffect(() => {
        dispatch(setFrontPageName("首页"))
    }, [])
    return (
        <div className={styles["home"]}>
            {t("page.index")}
        </div>
    );
};

export default Home;
